
<table>
	{[foreach name=outer key=key item=item from=$result.files]}
	{[assign var="no" value="`$key+1`"]}
	<tr><td>
	{[if $item.type eq 'image']}
	<a href="{[$item.url]}" class="jqzoom" rel='gal1' title="triumph" >
	<img src="{[$item.url]}" width="200" alt="{[$item.key]}"></a>
	{[else]}
	{[$item.key]}
	{[/if]}
	</td>
	<td>
	
	{[$item.createtime|date_format:'%Y-%m-%d']}<br/>
	{[$item.emp_t]}<br/>
	<a href="javascript:void(0)" onclick="Common.download('{[$item.key]}')" class="ui-icon ui-icon-disk" title="下载"></a><br/>
	{[if $item.key|mgfs]}
	<a href="javascript:void(0)" onclick="Common.file('{[$root]}{[$baseLink]}&id={[$result.id]}', '{[$item.key]}')" class="ui-icon ui-icon-close" title="删除"></a>
	{[/if]}
	</td>
	</tr>
	{[/foreach]}
</table>

<style type="text/css">

.jqzoom {
	display:block;
	height: 200px;
	width: 530px !important;
	border: 1px solid #EAEAEA;
	text-align: center;
	text-decoration:none;
	float:left;
}
</style>

<script type="text/javascript">
$(function() {
	
	$('.jqzoom').jqzoom({
		zoomType: 'standard',
		zoomHeight: 180,
		lens: true,
		preloadImages: false,
		alwaysOn: false
   });
	
});
</script>